<%--
 *  File:    OrgPopWindow4checkboxFrm.jsp
 *  @Author: visazhou
 *  Date:    2010/07/30
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>

<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<% //--------------------------------------  setting logger --%>

<%
  Category cat = Category.getInstance("jsp.OrgPopWindow4checkboxFrm"); 
  //init param
  String privilegeCode = "ALL";
  String strModuleName = "COM";
  String pageName = "";
%>

<%  
	String category = null;
	if(request.getParameter("category") != null) {
		category=request.getParameter("category");
		System.out.println("request-----category>"+category);
	}else if (pageContext.getAttribute("category") != null){
		category = pageContext.getAttribute("category").toString();
		System.out.println("pageContex-----category>"+category);
	}else if (session.getAttribute("category") != null){
		category = session.getAttribute("category").toString();
		System.out.println("session-----category>"+category);
	}
	category=(category==null)?"":("&category="+category);

    String globalpccode = null;
	if(request.getParameter("globalpccode") != null) {
		globalpccode=request.getParameter("globalpccode");
		System.out.println("request-----globalpccode>"+globalpccode);
	}else if (pageContext.getAttribute("globalpccode") != null){
		globalpccode = pageContext.getAttribute("globalpccode").toString();
		System.out.println("pageContex-----globalpccode>"+globalpccode);
	}else if (session.getAttribute("globalpccode") != null){
		globalpccode = session.getAttribute("globalpccode").toString();
		System.out.println("session-----globalpccode>"+globalpccode);
	}
	globalpccode=(globalpccode==null)?"":("&globalpccode="+globalpccode);

    String regionidstr = null;
	if(request.getParameter("regionidstr") != null) {
		regionidstr=request.getParameter("regionidstr");
		System.out.println("request-----regionidstr>"+regionidstr);
	}else if (pageContext.getAttribute("regionidstr") != null){
		regionidstr = pageContext.getAttribute("regionidstr").toString();
		System.out.println("pageContex-----regionidstr>"+regionidstr);
	}else if (session.getAttribute("regionidstr") != null){
		regionidstr = session.getAttribute("regionidstr").toString();
		System.out.println("session-----regionidstr>"+regionidstr);
	}
	regionidstr=(regionidstr==null)?"":("&regionidstr="+regionidstr);

   String viewflag = "";

     if(request.getParameter("viewflag") != null&&((String)request.getParameter("viewflag")).equals("view")) {

           viewflag = "&viewflag=view";
     }else{
         viewflag = "&viewflag=";
     }
    System.out.println("ddddddddddddddddd============="+viewflag);
    %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/InitEdit.inc" %>
<%@ include file="/inc/FrmDefault.inc" %> 
<%@include file="/inc/AlertError.inc"%>
<html>
<head>
<title>OrgPopWindow4checkboxFrm</title>
<PageFlow:CheckPageFlow pageName="p_orgcheckboxfrm" />
<script>
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<%	if(!viewflag.equals("&viewflag=view")){%>
<frameset rows="50%,*" frameborder="YES" border="0" framespacing="0" cols="*" bordercolor="#999999"> 
  <frame name="up" src="AgreementCityPopcheckbox2.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(category)%><%=JspHelper.filterNull(globalpccode)%><%=JspHelper.filterNull(regionidstr)%>" scrolling="yes" frameborder="YES" noresize>
  <frame name="down" src="AgreementCityPopcheckbox1.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(category)%><%=JspHelper.filterNull(globalpccode)%><%=JspHelper.filterNull(regionidstr)%>" scrolling="yes" frameborder="NO" noresize >
</frameset>
<noframes>
<%}else{%>
    <frameset rows="*" frameborder="YES" border="0" framespacing="0" cols="*" bordercolor="#999999">
  <frame name="up" src="AgreementCityPopcheckbox2.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(category)%><%=JspHelper.filterNull(globalpccode)%><%=JspHelper.filterNull(regionidstr)%><%=JspHelper.filterNull(viewflag)%>" scrolling="yes" frameborder="YES" noresize>

</frameset>
<noframes>
<%}%>
<body>

</body>
</noframes> 
</html>


